﻿Public Class Cash

    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles btnPay.Click
        If txtPayment.Text > "0" Then
            MsgBox("Yes is valid")
        Else
            MsgBox("Not valid")
        End If
    End Sub

    Private Sub Label2_Click(sender As System.Object, e As System.EventArgs) Handles Label2.Click

    End Sub

    Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) Handles btnCancel.Click
        Me.Close()
    End Sub

    Private Sub TextBox1_LostFocus(sender As Object, e As System.EventArgs) Handles txtPayment.LostFocus
        'Dim change = CDbl(TextBox1.Text) - CDbl(TextBox2.Text)
        'TextBox3.Text = change
    End Sub

    Private Sub Panel1_Paint(sender As System.Object, e As System.Windows.Forms.PaintEventArgs) Handles Panel1.Paint

    End Sub
End Class